<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login</title>
<link rel="stylesheet" type="text/css" href="../../css/estilo.css"/>
<script type="text/javascript" src="../../js/mootools.js"></script>
<script type="text/javascript" src="../../js/fValidator-full.js"></script>
<script type="text/javascript" src="../../js/md5.js"></script>

<script type="text/javascript" >
window.addEvent('domready', function(){

			 var myValidator = new fValidator("flogin");
			
			 $('flogin').addEvent('submit', function(e) {
				new Event(e).stop();
					if(myValidator.result){ 
						sinMD5 = $('pass').value;
						$('pass').value = hex_md5(sinMD5);
						var log = $('log_res_ajax').empty().addClass('ajax-loading');
						this.send({
							update: log,
							onComplete: function() {
							this.evalScripts();
								log.removeClass('ajax-loading');
							}
						});
				}
			});
		}); 


</script>
<style type="text/css">

</style>
</head>

<body   >

<form  name="flogin"  id="flogin" method="post"  action="../login_check.php">
		<div align="center" >
		<div id="Dlogin" > 
			<img src="../../img/logotransparente.gif" width="55" height="44" align="top" alt="logo unc" />
 			<span class="Estilo3">Universidad Nacional del Comahue</span><br />
			<br /><hr /><br />
			
			<?php include_once("int_login.php");?>		
				<br /><br /><br />
		  <div align="center">
			  <input id="login" name="login" type="submit" class="fValidator-form" value="      Entrar      " />
			</div>
		</div></div>

<div id="log_res_ajax"><!-- spanner --></div>
</form></body>
</html>
